package org.example.proxy.staticproxy;

import com.sun.org.apache.xml.internal.utils.StringBufferPool;
import org.example.proxy.dynamic.TeacherDao;

import java.util.Hashtable;
import java.util.Map;
import java.util.Vector;

/**
 * @author wangbin
 * @date 2024/4/18
 * @vesion 1.0
 */
public class Client {

    public static void main(String[] args) {
        TeacherDao teacherDao = new TeacherDao();
        TeacherFactory teacherDaoProxy = new TeacherFactory(teacherDao);

        teacherDaoProxy.teach();
        StringBuffer buffer= new StringBuffer();
        StringBuilder builder= new StringBuilder();
        StringBufferPool pool = new StringBufferPool();

        Vector vector = new Vector();

        Map hashtable=new Hashtable();
        Object object = new Object();
    }
}
